const getters = {
  // 这些 getters 没有任何业务逻辑，仅仅用来做一个便捷访问
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.staffPhoto,
  name: state => state.user.userInfo.username
}
export default getters
